﻿using S.PurchaseAndSales.Domain.Dto;
using S.PurchaseAndSales.Domain.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.PurchaseAndSales.Infrastructure.Interface.PurchaseForm
{
    /// <summary>
    /// 供应商
    /// </summary>
    public interface IVendorRepository:IBaseRepository<VendorModel>
    {
        /// <summary>
        /// 供应商分页显示查询
        /// </summary>
        /// <param name="venDorCode">编号</param>
        /// <param name="venDorName">名称</param>
        /// <param name="responsiblePhone">负责人电话</param>
        /// <param name="markets">所属市场</param>
        /// <param name="salesman">服务人员/业务员</param>
        /// <param name="useState">使用状态</param>
        /// <returns></returns>
        Task<IQueryable<GetVendorPageDto>> GetVendorPage();
    }
}
